package com.ww.exercise.coroutine

import kotlinx.coroutines.withTimeout

suspend fun callWithTimeout(): String {
    return withTimeout(3000) {
        "超时运行自动退出" // 挂起函数，超时自动取消
    }
}